/**
 * @Description: 自定义模板路由
 * @author longfa liang
 * @date 2021/7/13
 */


var express = require('express')
var router = express.Router()
var api = require('../module/template')

/*新增表单*/
router.post('/add_template', function (req, res, next) {
    api.add_template(req, res, next)
})
/*修改表单*/
router.post('/update_template', function (req, res, next) {
    api.update_template(req, res, next)
})

/*查询表单*/
router.post('/find_template', function (req, res, next) {
    api.find_template(req, res, next)
})


router.params.name = 'template module'
module.exports = router
